        <?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');

class Form_model_secretario extends CI_Model{
       
       public function __construct()
        {
        $this->load->library('session');
        $this->load->database();
        }
       
	   
	   public function form1()
	   {
	   	return '<legend>Procedencia de apelaciones</legend> 
							<table border="0" cellspacing="5" cellpadding="5" id="tabla-p">
								<tr>
										<td id="f1">
											<!--<select>
												<option>Camara A</option>
												<option>Camara B</option>
											</select>-->

											<input name="lugar" type="text" placeholder="Lugar a buscar.."/>

											<input type="text" id="fechai" name="fini" placeholder="Inicio resolucion" />
											<input type="text" id="fechaf" name="ffin" placeholder="Fin resolucion"/>
										</td>
										<td id="f2">
											<p class="submit">
												<input type="submit" name="commit" value="Consultar">
											</p>
										</td>
										<td>
											<input type="submit" value="Vista Previa" onclick="this.form.action=\'imprime1\'" />
										</td>
								</tr>
							</table>';
		   
	   }

		public function form2()
	   {
	   	return '<legend>Resoluciones de camara</legend> 
							<table border="0" cellspacing="5" cellpadding="5" id="tabla-p">
								<tr>
										<td id="f1">
											<select name="camara">
												<option value="1">Camara civil</option>
												<option value="2">Camara laboral</option>
											</select>
											<input type="text" id="fechai" name="fini" placeholder="Inicio resolucion" />
											<input type="text" id="fechaf" name="ffin" placeholder="Fin resolucion"/>
										</td>
										<td id="f2">
											<p class="submit">
												<input type="submit" name="commit" value="Consultar">
											</p>
										</td>
										<td>
											<input type="submit" value="Vista Previa" onclick="this.form.action=\'imprime2\'" />
										</td>
								</tr>
			
							</table>';
		   
	   }
		public function form3()
	   {
	   	return '<legend>Busqueda de informacion</legend> 
							<table border="0" cellspacing="5" cellpadding="5" id="tabla-p">
								<tr>
										<td id="f1">
											<select name="camara" >
												<option value="Civil" >Civil</option>
												<option value="Laboral" >Laboral</option>
											</select>
											<input type="text" id="fechai" name="fini" placeholder="Inicio resolucion" />
											<input type="text" id="fechaf" name="ffin" placeholder="Fin resolucion"/>
										</td>
										<td id="f2">
											<p class="submit">
										<input type="submit" name="commit" value="Consultar">
											</p>
										</td>
										<td>
											<input type="submit" value="Vista Previa" onclick="this.form.action=\'imprime3\'" />
										</td>
								</tr>
			
							</table>';
		   
	   }
		public function form4()
	   {
	   	return '<legend>Consulta de resolución de conflicto de competencias civiles por zonas</legend> 
							<table border="0" cellspacing="5" cellpadding="5" id="tabla-p">
								<tr>
										<td id="f1">
											<select name="zona">
												<option value="Occidental">Occidental</option>
												<option value="Central">Central</option>
												<option value="Paracental">Paracental</option>
												<option value="Oriental">Oriental</option>
											</select>
											<select name="materia">
												<option value="Civil" >Civil</option>
												<option value="Laboral" >Laboral</option>
											</select>
											<input type="text" id="fechai" name="fini" placeholder="Inicio resolucion" />
											<input type="text" id="fechaf" name="ffin" placeholder="Fin resolucion"/>
										</td>
										<td id="f2">
							
											<p class="submit">
										<input type="submit" name="commit" value="Consultar">
											</p>
										</td>
										<td>
											<input type="submit" value="Vista Previa" onclick="this.form.action=\'imprime4\'" />
										</td>
								</tr>
			
							</table>';
		   
	   }


       public function form5()
	   {
	   	return '<legend>Reporte de ingreso y egresos de apelaciones por año</legend> 
							<table border="0" cellspacing="5" cellpadding="5" id="tabla-p">
								<tr>
										<td id="f1">
											<select name="tipo_ap">
												<option value="1">Civil</option>
												<option value="2">Laboral</option>
												<option value="3">Mercantil</option>
											</select>
											<input type="text" id="fechai" name="fini" placeholder="Inicio resolucion" />
											<input type="text" id="fechaf" name="ffin" placeholder="Fin resolucion"/>
										</td>
										<td id="f2">
							
											<p class="submit">
										<input type="submit" name="commit" value="Consultar">
											</p>
										</td>
										<td>
											<input type="submit" value="Vista Previa" onclick="this.form.action=\'imprime5\'" />
										</td>
								</tr>
			
							</table>';
		   
	   }
        
       public function form6()
	   {
	   	return '<legend>Reporte de Apelaciones para Corte Plena</legend> 
							<table border="0" cellspacing="5" cellpadding="5" id="tabla-p">
								<tr>
										<td id="f1">
											<input type="text" id="fechai" name="fini" placeholder="Inicio resolucion" />
											<input type="text" id="fechaf" name="ffin" placeholder="Fin resolucion"/>
										</td>
										<td id="f2">
							
											<p class="submit">
										<input type="submit" name="commit" value="Consultar">
											</p>
										</td>
										<td>
											<input type="submit" value="Vista Previa" onclick="this.form.action=\'imprime6\'" />
										</td>
								</tr>
			
							</table>';
		   
	   }
    }